package com.atguigu.exam.service;

import com.atguigu.exam.entity.Category;

import java.util.List;

public interface CategoryService {


    List<Category> getCategories();

    List<Category> getCategoryTree();

    void addCategory(Category category);

    void updateCategory(Category category);

    void deleteCategory(Long id);
} 